using System.Net.Security;
using System.ServiceModel;

namespace DemoLib.Shared.Contracts
{
    [ServiceContract(Namespace = "DemoService",
        ProtectionLevel = ProtectionLevel.None,
        SessionMode = SessionMode.Allowed)]
    public interface IEmailService
    {
        [OperationContract(IsOneWay = true)]
        void SendEmail(string fromAddress, string toAddress, string subject, string body);
    }
}